package com.appleyk.controller;

import org.springframework.web.bind.annotation.*;

/**
 * <p>测试接口</p>
 *
 * @author Appleyk
 * @version V.0.1.1
 * @blob https://blog.csdn.net/appleyk
 * @github https://github.com/kobeyk/dubbo-spring-boot-sample
 * @date created on 17:14 2020/10/19
 */
@CrossOrigin
@RequestMapping("/ui")
@RestController
public class HelloController {

    @GetMapping("/{name}")
    public String hello(@PathVariable("name") String name){
        return "hello,"+name;
    }
}
